Optimal. Leaf size=90 \[ -\frac {b \, _2F_1\left (1,-\frac {1}{n};-\frac {1-n}{n};-\frac {b x^n}{a}\right )}{a (b c-a d) x}+\frac {d \, _2F_1\left (1,-\frac {1}{n};-\frac {1-n}{n};-\frac {d x^n}{c}\right )}{c (b c-a d) x} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.03, antiderivative size = 90, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {522, 371}
\begin {gather*} \frac {d \, _2F_1\left (1,-\frac {1}{n};-\frac {1-n}{n};-\frac {d x^n}{c}\right )}{c x (b c-a d)}-\frac {b \, _2F_1\left (1,-\frac {1}{n};-\frac {1-n}{n};-\frac {b x^n}{a}\right )}{a x (b c-a d)} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 371
Rule 522
Rubi steps
\begin {align*} \int \frac {1}{x^2 \left (a+b x^n\right ) \left (c+d x^n\right )} \, dx &=\frac {b \int \frac {1}{x^2 \left (a+b x^n\right )} \, dx}{b c-a d}-\frac {d \int \frac {1}{x^2 \left (c+d x^n\right )} \, dx}{b c-a d}\\ &=-\frac {b \, _2F_1\left (1,-\frac {1}{n};-\frac {1-n}{n};-\frac {b x^n}{a}\right )}{a (b c-a d) x}+\frac {d \, _2F_1\left (1,-\frac {1}{n};-\frac {1-n}{n};-\frac {d x^n}{c}\right )}{c (b c-a d) x}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 74, normalized size = 0.82 \begin {gather*} \frac {b c \, _2F_1\left (1,-\frac {1}{n};\frac {-1+n}{n};-\frac {b x^n}{a}\right )-a d \, _2F_1\left (1,-\frac {1}{n};\frac {-1+n}{n};-\frac {d x^n}{c}\right )}{a c (-b c+a d) x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.13, size = 0, normalized size = 0.00 \[\int \frac {1}{x^{2} \left (a +b \,x^{n}\right ) \left (c +d \,x^{n}\right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{x^{2} \left (a + b x^{n}\right ) \left (c + d x^{n}\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {1}{x^2\,\left (a+b\,x^n\right )\,\left (c+d\,x^n\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________